﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="SolicitarTipo.aspx.cs" Inherits="Proveedor_SolicitarTipo" %>

<%@ Register src="Controles/veSolicitudTipo.ascx" tagname="veSolicitudTipo" tagprefix="uc1" %>
<%@ Register src="Controles/ucLinks.ascx" tagname="ucLinks" tagprefix="uc2" %>

<asp:Content ID="Content1"  ContentPlaceHolderID="MainContent" runat="server" >
    <script language="javascript" type="text/javascript" src="../Scripts/comunes.js"></script>
    <script language="javascript" type="text/javascript">
        function abrirPopUp(idSeleccionado) {
            var dir = '../Comunes/popup.htm?URL=../Proveedor/Edicion/EdicionProducto.aspx';

            if (idSeleccionado != null)
                dir += '?idSeleccionado=' + idSeleccionado;

            var ret = OpenModalDialog(dir, null, 'status:no;help:no;scroll:no;dialogWidth:700px;dialogHeight:400px;');
            if (ret != null && ret) {
                window.event.returnValue = true;
                return true;
            }
            else {
                window.event.returnValue = false;
                return false;
            }
        }
            
    </script>
    
    <div>
                
        <table cellspacing="0" cellpadding="0" width="100%" border="0">
            <tr>
                <td colspan="3">
                    <asp:ValidationSummary ID="ValidationSummary" runat="server" ShowMessageBox="false" ShowSummary="False" />
                </td>
            </tr>
            <tr>
                <td valign="top" style ="width:250px">
                    <table cellspacing="0" cellpadding="0" border="0" width="100%">
                        <tr>
                            <td><img src="../Imag/verde_top.png" alt="" width="100%" height="15" /></td>
                        </tr>                        
                        <tr>
                            <td class="lp_blk2" >
                                <uc2:ucLinks ID="ucLinks" runat="server" />
                            </td>
                        </tr>
                        
                        <tr>
                            <td><img src="../Imag/verde_bottom.png" alt="" width="100%" height="14" /></td>
                        </tr>
                    </table>
                </td>
                <td>&nbsp;</td>
                <td>
                    <table cellspacing="0" cellpadding="0" border="0" width="70%">
                        <tr>
                            <td><img src="../Imag/celeste_Top.png" alt="" height="15" width="100%" /></td>
                        </tr>
                        <tr>
                            <td class="lp_blk1" align="center">
                                &nbsp;<asp:Label ID="lblTit" runat="server" Text="Solicitud de nuevo tipo de producto\servicio" CssClass="tit_azul" Font-Bold="true"></asp:Label>
                            </td>
                        </tr>
                        
                        <tr>
                            <td class="lp_blk1" align="center">
                                <uc1:veSolicitudTipo ID="veSolicitudTipo" runat="server" />
                            </td>
                        </tr>
                        <tr>
                            <td class="lp_blk1" align="center">
                                &nbsp;
                                <asp:Button ID="btnConfirmar" runat="server" Text="Confirmar" ValidationGroup="confirmar"
                                    CssClass="BotonCeleste" Width="100px" onclick="btnConfirmar_Click"/>
                                &nbsp;
                                <asp:Button ID="btnCancelar" runat="server" Text="Cancelar" CausesValidation="False" CssClass="BotonCeleste" Width="100px"/>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td><img src="../Imag/celeste_Bottom.png" alt=""  height="15" width="100%" /></td>
                        </tr>
                    </table>
                </td>
                <td>&nbsp;</td>
            </tr>
        </table>
    </div>
</asp:Content>
